#!/bin/bash
# --------------------------------------------------
#Author:  LJ
#Email:   admin@attacker.club

#Last Modified: 2018-03-15 17:28:05
#Description: 
# --------------------------------------------------






find . -type d -name "*"  #搜目录
find . -type f -name "*"   #搜文件
find .  -name   "*.log" -mtime +999 -type f -print -exec rm -f {} \;
#搜索大于6天，log后缀文件并执行删除动作 











